//
//  TDMineMessageListCell.m
//  TBRentClient
//
//  Created by tonbright on 2018/6/21.
//  Copyright © 2018年 tonbright. All rights reserved.
//

#import "TDMineMessageListCell.h"

@implementation TDMineMessageListCell

- (void)awakeFromNib {
    [super awakeFromNib];
    // Initialization code
}

- (void)setMessageListModel:(TDMineMessageListModel *)messageListModel {
    _messageListModel = messageListModel;
    if ([messageListModel.readflag isEqualToString:@"1"]) {
        _lbe_title.textColor = [UIColor colorWithHex:0x6e6e6e];
    }else {
        _lbe_title.textColor = [UIColor blackColor];
    }
    _lbe_title.text = messageListModel.title;
    _lbe_content.text = messageListModel.content;
    _lbe_creantime.text = messageListModel.createtime;
}

@end
